
#include "app_includes.h"

void task_dap(void *para)
{
    chry_dap_init();
    while(1) {
        chry_dap_handle();
        if(!app_dev.para.store.pc_comm) {
            chry_dap_usb2uart_rx(&usart1_state);
        }
        chry_dap_usb2uart_handle(&usart1_state);
        vTaskDelay(10);
    }
}
